/*	TGScreenSaverView.h
 *	Part of ThinkGeek LED Clock
 *	http://cs.beloit.edu/~morgant/thinkgeek/
 *
 * Copyright (c)2003-2005 Tim Morgan. All rights reserved.
 * Please visit http://cs.beloit.edu/~morgant/other/license.html
 * for more information about your rights and responsibilities
 * regarding this source code.
 */

#import <Cocoa/Cocoa.h>
#import <ScreenSaver/ScreenSaver.h>

#import "TGConfigureSheetController.h"

/**
 * View class that does all drawing to the screen. This drawing is
 * delegated out to more specialized classes but all draw commands
 * end up passed here.
 *
 * This class is also the entry point for the screen saver, and thus
 * it is tasked with general program initialization (though this is
 * also delegated to more specialized classes).
 *
 * @author Tim Morgan
 */

@interface TGScreenSaverView : ScreenSaverView {
	TGConfigureSheetController *optionsController;
}

#pragma mark <<initialization/deallocation>>

- (id) initWithFrame:(NSRect)frame;
- (id) initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview;

#pragma mark <<graphics>>
- (void) animateOneFrame;

@end
